
<script>
	$(function() {
		$( "#tabs" ).tabs();
	});
    

</script>

<form id="form" action="<?=$_SERVER[ 'PHP_SELF' ]?>" method="post" enctype="multipart/form-data">
<div style="font-size:12px; width:98%" id="tabs">
	<ul>
		<li><a href="#tabs-1">Data Agen/Lokasi</a></li>
		<li><a href="#tabs-2">Data PIC</a></li>
		
	</ul>
	<div id="tabs-1">
		<table width="100%">
			<tr>
				<td>  
    <?php 
					$this->load->view( 'agents/view_agent_data' );
				?> 
				</td>
			</tr>
		</table>
	</div>
	<div id="tabs-2">
		<table width="100%">
			<tr>
				<td>
				<?php 
					$this->load->view( 'agents/view_pic' );
				?>
				</td>
			</tr>
		</table>
        
	</div>
 </div>
 </form>